﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleAppAOPModule
{
  public  class AOPTestServer : IAOPTestServer
    {
        private int age;

        public  AOPTestServer(int age)
        {
            this.age = age;
        }

        //public AOPTestServer()
        //{

        //}

        public  void Say(string name)
        {
            Console.WriteLine($"我是 {name}");
        }

        public int GetAge()
        {
            return age;
        }
    }
}
